package org.zcl.rocketmq.entity;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import java.io.Serializable;

@Data
@Builder
public class MessageObj implements Serializable {

    private static final long serialVersionUID = 2744905414028739552L;

    @Tolerate
    public MessageObj() {
        super();
    }

    //流程实例ID
    private String instanceId;
    //当前流程模块实例id
    private String instenceItemId;
    //流程ID
    private String flowId;
    //模块编码
    private String moduleCode;
    //队列
    private String queue;

    //查询条件 json 业务方自己去转
    private String paramJson;

    /**
     * 重启标识。定义该流程实例是否是重启
     */
    private boolean reload;
}
